package com.cans.ws.api;

import com.cans.model.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * @author: cans
 * @date: 2017/11/16
 * @description:
 */
@WebService
public interface IUserService {

    @WebMethod
    String getName(@WebParam(name = "userId") Long userId);
    @WebMethod
    User getUser(Long userId);
}
